Computer Science Lesson Plan
Class: 5 - Lesson: 12 Real Life Programming Game-2
One class (teacher's decision).
Chalk to draw a grid.
Students should know:
This activity involves a treasure, a person and a robot. The treasure is placed in one box (cell). The robot has to navigate to the position of the treasure, pick up the treasure, then navigate to the position of the person and hand the treasure over to the person.
Note: There are bombs in some boxes, through which navigation is not possible. This means that the robot cannot step inside those boxes.
1. How will the robot move and find the treasure, then return to give the treasure to the person?
Work out the path for each of the two grids given below.
⟹a) Using step-by-step moves.
⟹b) Using a repeat condition.